package cn.edu.xmu.oomall.liquidation.microservice;

import cn.edu.xmu.oomall.liquidation.microservice.vo.AftersalesVo;
import cn.edu.xmu.privilegegateway.annotation.util.InternalReturnObject;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestParam;

/**
 * @author HertzLiu
 * @create_time 2021/12/18 15:56
 * @package_name cn.edu.xmu.oomall.liquidation.microservice
 * @project_name oomall
 * @product_name IntelliJ IDEA
 * @description 其他模块
 */

@FeignClient(name = "aftersale-service")
public interface AfterSaleService {

    @GetMapping("/internal/aftersales/{id}")
    public InternalReturnObject<AftersalesVo> getAfterSalesById(@RequestParam Long id);
}
